import java.util.Scanner;

public class ifdemo2 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入一个数字：");
        int num=scanner.nextInt();
        //int num=19;
        if(num%2==0){
            System.out.println("num是偶数");
        }else {
            System.out.println("num是奇数");
        }
    }
}
